#include <string.h>
#include <stdlib.h>
#include "player.h"

typedef struct _GAME
{
    int game_index;
    int shuffle_count;
    int player_count;
    int card_count;
    PLAYER *players;
    POKER_CARD *poker_cards;
} GAME;

/* 初始化游戏数据 */
GAME init(const int, const int, const int, char *args[]);
/* 洗牌 */
void shuffle(GAME);
/* 发牌 */
void deal(GAME);
/* 展示并比较结果 */
void show(GAME);
/* 玩一局游戏 */
void play(GAME);
/* 回收扑克 */
void recycle(GAME);
/* 游戏结束 */
void over(GAME);